Optimal. Leaf size=68 \[ \frac{2 (A-C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 C \tan (c+d x)}{d \sqrt{b \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.056838, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {4046, 3771, 2639} \[ \frac{2 (A-C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 C \tan (c+d x)}{d \sqrt{b \sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4046
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int \frac{A+C \sec ^2(c+d x)}{\sqrt{b \sec (c+d x)}} \, dx &=\frac{2 C \tan (c+d x)}{d \sqrt{b \sec (c+d x)}}+(A-C) \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{2 C \tan (c+d x)}{d \sqrt{b \sec (c+d x)}}+\frac{(A-C) \int \sqrt{\cos (c+d x)} \, dx}{\sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=\frac{2 (A-C) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{2 C \tan (c+d x)}{d \sqrt{b \sec (c+d x)}}\\ \end{align*}
Mathematica [C] time = 0.708521, size = 126, normalized size = 1.85 \[ -\frac{2 i \left (2 (A-C) e^{2 i (c+d x)} \sqrt{1+e^{2 i (c+d x)}} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},-e^{2 i (c+d x)}\right )-3 \left (A e^{2 i (c+d x)}+A-2 C e^{2 i (c+d x)}\right )\right )}{3 d \left (1+e^{2 i (c+d x)}\right ) \sqrt{b \sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.279, size = 588, normalized size = 8.7 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C \sec \left (d x + c\right )^{2} + A}{\sqrt{b \sec \left (d x + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (C \sec \left (d x + c\right )^{2} + A\right )} \sqrt{b \sec \left (d x + c\right )}}{b \sec \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + C \sec ^{2}{\left (c + d x \right )}}{\sqrt{b \sec{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C \sec \left (d x + c\right )^{2} + A}{\sqrt{b \sec \left (d x + c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]